.feedbackform-overlay {
  z-index: 1001;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}
.feedbackform-popup {
  width: 100%;
  max-width: 515px;
  position: fixed;
  top: 50%;
  left: 0;
  margin-left: 0;
  right: 0;
  margin: auto;
  opacity: 1;
  z-index: 1002;
  transform: translateY(-50%);
}
.feedbackform-popup_wrap {
  background-color: rgb(255, 255, 255);
  box-shadow: 0 5px 15px -5px #000;
  border-radius: 3px;
  width: 100%;
  position: relative;
}
.feedbackform-static {
  display:block;
  margin: 10px auto;
  max-width: 500px;
}
.feedbackform-popup h3{
  margin: 0px;
  background: #979797;
  color: #FFF;
}
.feedbackform-popup input[type="submit"], .feedbackform-static input[type="submit"]{
  color: #FFF;
  border: 1px solid #979797;
  background-color: #979797;

}
.feedbackform-popup input[type="submit"], .feedbackform-popup .feedbackform-close:hover{
  transition: background .1s, border-color .2s;
}
.feedbackform-popup input[type="submit"]:hover, .feedbackform-static input[type="submit"]:hover{
   background-color: #979797;
   border: 1px solid #979797;
}

.feedbackform-popup h3,  .feedbackform-static h3{
  padding: 15px;
  color: #fff;
  font-size: 20px;
}
.feedbackform-popup form, .feedbackform-static form{
  padding: 20px;
  text-align: center;
}
.feedbackform-popup form input[type="text"], .feedbackform-popup form input[type="email"], .feedbackform-popup form textarea, .feedbackform-static form input[type="text"], .feedbackform-static form input[type="email"], .feedbackform-static form textarea {
  padding: 10px 15px;
  margin: 0;
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  color: #000;
  font-weight: normal;
  font-size: 16px;
}
.feedbackform-popup form textarea, .feedbackform-static form textarea {
  height: 90px;
  outline: none;
  resize: none;
}
.feedbackform-popup input[type="submit"], .feedbackform-static input[type="submit"] {
  padding: 12px 37px;
  border-radius: 0;
  display: inline-block;
  cursor: pointer;
  outline: none;
  margin-top: 10px;
  font-weight: normal;
  font-size: 16px;
}
.feedbackform-popup form input[type="text"].invalid, .feedbackform-popup form input[type="email"].invalid, .feedbackform-popup > form textarea.invalid, .feedbackform-static form input[type="text"].invalid, .feedbackform-static form input[type="email"].invalid, .feedbackform-static > form textarea.invalid {
  border: 1px solid #fd7d7d;
  border-radius: 3px;
}
input[type="text"].invalid:before {
  content: " ";
  display: block;
  width: 10px;
  height: 10px;
}
.feedbackform-popup .feedbackform-close {
  position: absolute;
  right: 15px;
  color: #FFF;
  top: 15px;
  line-height: normal;
  padding: 0;
  width: 24px;
  height: 24px;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  line-height: 1;
  z-index: 1003;
  display: block;
}
.feedbackform-close span {
  width: 20px;
  height: 2px;
  background-color: #fff;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.feedbackform-close span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.feedbackform-close span:nth-child(2) {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.feedbackform-popup > form > .feedbackform-block, .feedbackform-static  > form > .feedbackform-block {
  margin-top: 10px;
}
.feedbackform-block > .chrobot {
  display: block;
  margin: 10px 0;
  font-size: 16px;
  text-align: left;
}
.chrobot > label {
  position: relative;
  -moz-user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  color: #000000;
  display: block;
}
.chrobot > label p {
  padding-left: 33px;
}
.chrobot > label > a {
  color: #7f5847;
  text-decoration: underline;
}
.chrobot > label > a:hover {
  color: #000000;
}
.chrobot > label:hover {
  color: #000000;
}
.chrobot input[type="checkbox"] + label:before {
  position: absolute;
  content: " ";
  width: 22px;
  height: 22px;
  border: 1px solid #979797;
  display: block;
  border-radius: 0px;
  top: 0px;
  left: 0;
}
.chrobot input[type="checkbox"]:checked + label:after {
  content: "";
  width: 8px;
  height: 4px;
  margin: 3px 0 0 3px;
  border-bottom: 2px solid #666;
  border-left: 2px solid #666;
  -webkit-transform: rotate(-50deg);
  transform: rotate(-50deg);
  position: absolute;
  top: 5px;
  left: 4px;
}
.chrobot input[type="checkbox"].invalid + label {
    color: red;
}
.chrobot input[type="checkbox"].invalid + label:before {
    border: 1px solid red;
}
.feedbackform-block > .chrobot input[name="robot"]{
  display:none;
}
.notif {
    display: none;
    position: fixed;
    text-align: center;
    top: 0;
    left: 50%;
    margin-left: -190px;
    width: 380px;
    background: #979797;
    color: #ffffff;
    font-weight: bold;
    padding: 15px 5px;
    text-transform: uppercase;
    font-size: 11pt;
    z-index: 99999;
    box-shadow: 0 5px 10px -5px #000;
}
.feedbackform-inputblock--errorinfo {
    display: block;
    text-align: left;
    margin: 5px 0px;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: height .4s, opacity .3s, margin-left .5s;
    color: red;
}
.feedbackform-inputblock:hover input.invalid + .feedbackform-inputblock--errorinfo,  .feedbackform-inputblock:hover textarea.invalid + .feedbackform-inputblock--errorinfo{
    height: 22px;
    margin-left: 10px;
    opacity: 1;
}
.feedbackform-popup > .feedbackform-close:hover  {
    color: #cacaca;
}
@media(max-width:767px) {
  .feedbackform-popup {
    max-width: 290px;
  }
  .feedbackform-inputblock:hover input.invalid + .feedbackform-inputblock--errorinfo, .feedbackform-inputblock:hover textarea.invalid + .feedbackform-inputblock--errorinfo {
    height: 30px;
  }
  .feedbackform-block > .chrobot {
    font-size: 14px;
  }
  .chrobot > label p {
    padding: 0px 0px 0px 33px;
  }
  .chrobot > label a {
    display: inline;
    word-wrap: break-word;
    word-break: break-word;
  }
  .feedbackform-popup h3, .feedbackform-static h3 {
    font-size: 16px;
  }
  .feedbackform-popup .feedbackform-close {
    width: 20px;
    height: 20px;
    font-size: 20px;
  }

}
